<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>
            X-admin v1.0
        </title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="/Public/admin/css/x-admin.css" media="all">
    </head>
    <body>
        <div class="x-body">
            <blockquote class="layui-elem-quote">
                欢迎使用老师上门-admin 后台模版！<span class="f-14">v1.0</span>
            </blockquote>
            <p>登录用户：<?php echo ($admin_info["username"]); ?> </p>
            <p>上次登录IP：<?php echo ($admin_info["login_ip"]); ?>  上次登录时间： <?php echo date('Y-m-d H:i:s',$admin_info['login_time'])?></p>
            <fieldset class="layui-elem-field layui-field-title site-title" style="margin: 30px 0 0px;">
              <legend><a name="default">即时更新信息显示</a></legend>
            </fieldset>
            <style type="text/css">
                .ss_da{width: 1665px;height: 100px;}
                .ss_shang{width: 410px;height: 100px;float: left;margin: 15px 5px;}
                .ss_zhong{width: 410px;height: 100px;float: left;margin: 15px 5px;}
                .ss_xia{width: 800px;height: 100px;float: right;margin: 15px 5px;}
            </style>
            <div class="ss_da">
                <div class="ss_shang">
                    <iframe src="<?php echo U('admin/index/zhuce_ls_iframe');?>" width="400" id="zhuce_ls" height="100" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
                </div>
                <div class="ss_zhong">
                    <iframe src="<?php echo U('admin/index/zhuce_jz_iframe');?>" width="400" id="zhuce_jz" height="100" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
                </div>
                <div class="ss_xia">
                    <iframe src="<?php echo U('admin/index/zhuce_order_iframe');?>" width="800" id="order_yuyue" height="100" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
                </div>
            </div>

            <table class="layui-table">
                <thead>
                    <tr>
                        <th colspan="2" scope="col">服务器信息</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th width="30%">服务器计算机名</th>
                        <td><span id="lbServerName"><?php echo ($_SERVER['SERVER_NAME']); ?></span></td>
                    </tr>
                    <tr>
                        <td>服务器IP地址</td>
                        <td><?php echo ($_SERVER['HTTP_HOST']); ?></td>
                    </tr>
                    <tr>
                        <td>服务器域名</td>
                        <td><?php echo ($_SERVER['SERVER_NAME']); ?></td>
                    </tr>
                    <tr>
                        <td>服务器端口 </td>
                        <td><?php echo ($_SERVER['SERVER_PORT']); ?></td>
                    </tr>
                    <tr>
                        <td>服务器IIS版本 </td>
                        <td>Microsoft-IIS/6.0</td>
                    </tr>
                    <tr>
                        <td>本文件所在文件夹 </td>
                        <td><?php echo ($_SERVER["SCRIPT_FILENAME"]); ?></td>
                    </tr>
                    <tr>
                        <td>服务器操作系统 </td>
                        <td><?php echo ($_SERVER["System"]); ?></td>
                    </tr>
                    <tr>
                        <td>系统所在文件夹 </td>
                        <td><?php echo ($_SERVER["SystemRoot"]); ?></td>
                    </tr>
                    <tr>
                        <td>服务器脚本超时时间 </td>
                        <td><?php echo ini_get("max_execution_time") ?></td>
                    </tr>
                    <tr>
                        <td>服务器的语言种类 </td>
                        <td><?php echo ($_SERVER['HTTP_ACCEPT_LANGUAGE']); ?></td>
                    </tr>
                    <tr>
                        <td>.NET Framework 版本 </td>
                        <td>2.050727.3655</td>
                    </tr>
                    <tr>
                        <td>服务器当前时间 </td>
                        <td><?php echo date('Y-m-d H:i:s',time())?></td>
                    </tr>
                    <tr>
                        <td>服务器IE版本 </td>
                        <td><?php echo ($_SERVER["HTTP_USER_AGENT"]); ?></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="layui-footer footer footer-demo">
            <div class="layui-main">
                <p>感谢layui,百度Echarts,jquery</p>
                <p>
                    <a href="">
                        Copyright ©2017 x-admin v2.3 All Rights Reserved.
                    </a>
                </p>
                <p>
                    <a href="" target="_blank">
                        本后台系统由尚门教育团队提供技术支持
                    </a>
                </p>
            </div>
        </div>
        <script src="/Public/admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="/Public/admin/js/x-admin.js"></script>

<script language="javascript">

    function changeSource()
    {
       document.getElementById("zhuce_ls").src="<?php echo U('admin/index/zhuce_ls_iframe');?>"
    }
    setInterval("changeSource()",60000);

    function changeSource_a()
    {
       document.getElementById("zhuce_jz").src="<?php echo U('admin/index/zhuce_jz_iframe');?>"
    }
    setInterval("changeSource_a()",60000);

    function changeSource_b()
    {
       document.getElementById("order_yuyue").src="<?php echo U('admin/index/zhuce_order_iframe');?>"
    }
    setInterval("changeSource_b()",60000);
</script>
    </body>
</html>